* {
padding: 0;
margin: 0;
font-family: "sans";
user-select: none;
}
@font-face {
src: url("font/sans.ttf");
font-family: "sans";
}
body {
display: flex;
justify-content: center;
align-items: center;
min-height: 100vh;
background: #19172e;
}
h2 {
position: absolute;
top: 0;
padding-top: 180px;
color: white;
font-size: 2rem;
text-align: center;
}
.inputBox {
position: relative;
width: 400px;
background: rgba(255, 255, 255, 0.05);
box-shadow: 0 15px 25px rgba(0, 0, 0, 0.1);
z-index: 1000;
border-radius: 20px;
backdrop-filter: blur(20px);
}
.inputBox input {
position: relative;
width: 100%;
height: 60px;
border: none;
margin: 15px 0 15px;
padding: 0 20px;
font-size: 24px;
letter-spacing: 3px;
box-sizing: border-box;
border-radius: 8px;
color: white;
text-align: center;
border-radius: 10px;
background: rgba(255, 255, 255, 0.05);
}
::-webkit-input-placeholder {
text-align: center;
}
#btn {
position: absolute;
cursor: pointer;
color: #fff;
background: #333;
font-size: 24px;
padding: 15px;
border-radius: 8px;
bottom: 0;
margin: 200px auto;
}
#btn:active {
background: #1e8e3e;
}
footer {
text-align: center;
color: white;
font-size: 1rem;
position: absolute;
bottom: 0;
margin-bottom: 0;
padding: 5px;
line-height: 3vh;
}
footer a:visited {
color: inherit;
}